@layout("/common/_container.html"){
<style>
	#AudienceTable tbody td{
		word-break: break-all;
	}

</style>

<div class="row" id="myTop">
	<div class="col-sm-12  col-xs-12" id="leftContent">
		<div class="ibox float-e-margins">
			<div class="ibox-title">
				<h5>观众列表</h5>
				<div class="ibox-tools">
					<a class="" href="###" onclick="window.history.go(0);"> <i class="fa fa-refresh refreshs" ></i></a>
				</div>
			</div>
			<div class="ibox-content">
				<div class="row row-lg">
						<!--高级搜索-->
						<div class="row highSearch highSearchGroup">
							<div class="col-sm-10 row">
							<div class="col-lg-3 col-sm-4">
								<#NameCon id="name" label="姓名" placeholder="请输入姓名"/>
							</div>
							<div class="col-lg-3 col-sm-4">
								<#NameCon id="companyCn" label="公司" placeholder="请输入公司"/>
							</div>
							<div class="col-lg-3 col-sm-4">
								<#NameCon id="department" label="部门" placeholder="请输入部门"/>
							</div>
							<div class="col-lg-3 col-sm-4">
								<#NameCon id="phone" label="手机号" placeholder="请输入手机号"/>
							</div>
							<div class="col-lg-3 col-sm-4">
								<#NameCon id="seatcode" label="座机号" placeholder="请输入座机号"/>
							</div>
							<div class="col-lg-3 col-sm-4">
								<#NameCon id="email" label="邮箱" placeholder="请输入邮箱"/>
							</div>
							</div>
							<div class="col-sm-10 row">
							<div class="col-lg-4 col-sm-4">
								<#select id="businessType1" name="商业性质1"  >
								<option value="">请选择公司商业性质1</option>
								@for(item in businessTypeList){
								<option value="${item.code}" >${item.name}</option>
								@}
							</#select>
							</div>
							<div class="col-lg-4 col-sm-4">
								<#select id="businessType2" name="商业性质2"   >
								<option value="">请选择公司商业性质2</option>
								@for(item in businessTypeList){
								<option value="${item.code}" >${item.name}</option>
								@}
							</#select>
							</div>
							<div class="col-lg-4 col-sm-4">
								<#select id="businessType3" name="商业性质3"   >
								<option value="">请选择公司商业性质3</option>
								@for(item in businessTypeList){
								<option value="${item.code}" >${item.name}</option>
								@}
							</#select>
						</div>
							<div class="col-lg-4 col-sm-4">
								<#select id="industryType" name="行业性质" >
								<option value="">请选择公司行业性质</option>
								@for(item in industryTypeList){
								<option value="${item.code}" >${item.name}</option>
								@}
							</#select>
						</div>
						<div class="col-lg-4 col-sm-4">
							<#select id="property" name="客户身份" >
							<option value="">请选择客户身份</option>
							@for(item in propertyList){
							<option value="${item.code}" >${item.name}</option>
							@}
						</#select>
					</div>
	</div>
						</div>
					<!--普通搜索-->
				<div class="hidden-xs" id="ActivityTableToolbar" role="group">
					<div class="row">
						<div class="col-sm-4   col-xs-4 normalSearch">
							<!-- 普通搜索可选项-->
							<#SelectConNormal id="normalFieldName">
							<option value="name">姓名</option>
							<option value="companyCn">公司名</option>
							<option value="department">部门</option>
							<option value="seatcode">座机号</option>
							<option value="phone">手机号</option>
							<option value="email">邮箱</option>
						</#SelectConNormal>
					</div>
					<div class="col-sm-4   col-xs-4 normalSearch normalSearchGroup" >
						<!-- 普通搜索条件组-->
						<#NameConNormal name="name"  placeholder="请输入姓名" style="display:block;"/>
						<#NameConNormal name="companyCn"  placeholder="请输入公司名(中、英文)" style="display:none;"/>
						<#NameConNormal name="department"  placeholder="请输入部门" style="display:none;"/>
						<#NameConNormal name="seatcode"  placeholder="请输入座机号" style="display:none;"/>
						<#NameConNormal name="phone"  placeholder="请输入手机号" style="display:none;"/>
						<#NameConNormal name="email"  placeholder="请输入邮箱" style="display:none;"/>
					</div>
		<div class="col-sm-4  col-xs-4" id="change">
			<!-- 普通搜索-->
			<#buttonNormal name="搜索"  class="normalSearch" clickFun="Audience.normalSearch();"/>
			<!-- 高级搜索-->
			<div>
				<div class="col-sm-3  col-xs-4" style="margin-right:-15px;margin-left:-15px"></div>
				<div class="col-sm-4  col-xs-4"  style="margin-left:15px;min-width: 200px">
			<#buttonNormal name="搜索" class="highSearch" clickFun="Audience.highSearch();"/>
			<#buttonNormal name="清空" class="highSearch btnGray" clickFun="Audience.highResetSearch();" />
				</div>
			</div>
		</div>
	</div>
</div>
						<#table id="AudienceTable" />
					</div>
				</div>
			</div>

		</div>
<!--详细信息-->
<div class="col-sm-3" id="rightContent" style="display:none;">
	<div class="ibox ">
		<div class="client-detail">
			<iframe id="detail-iframe" width="100%" height="100%"  src="" frameborder="0"></iframe>
		</div>

	</div>
</div>
	</div>

<script type="text/javascript">
    /*
     * 权限配置
     */
    var Authority={};
    Authority["update"] =${shiro.hasPermission("/audience/edit")};
    Authority["delete"] =${shiro.hasPermission("/audience/delete")};
    Authority["export"] =${shiro.hasPermission("/audience/export")};
    Authority["import"] =${shiro.hasPermission("/audience/import")};
    Authority["add"]    =${shiro.hasPermission("/audience/add")};
    Authority["batchDelete"]    =${shiro.hasPermission("/audience/batchDelete")};
</script>
<script src="${ctxPath}/static/modular/system/audience/audience.js"></script>
<script type="text/javascript" src="${ctxPath}/static/js/common/VSearch.js"></script>
<!--<script src="${ctxPath}/static/modular/system/activity/activitySearch.js"></script>-->
@}
